#include "game.h"
#include "ProcBar.h"
void menu()
{
  printf("****************************\n");
  printf("*******   1. Play    *******\n");
  printf("*******   0. Exit    *******\n");
  printf("****************************\n");
}

int main()
{
  int input = 0;
  do 
  {
    menu();
    printf("Please input a value(1 or 0):>");
    scanf("%d", &input);
    switch(input)
    {
      case 1:
        process_bar();
        game();
        break;
      case 0:printf("ByeBye!\n");
        break;
      default:printf("Enter Error Try Again!\n");
        break;
    }

  }while(input);
  return 0;
}
